package com.qfedu.tantu.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qfedu.tantu.entity.Reserve;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;


/**
 * @Description:
 * @Author: 赵金帅
 * @Date: 2022/07/02/0:26
 */
public interface ReserveDao extends BaseMapper<Reserve> {
    @Update("UPDATE t_reserve set flag=#{flag} where token=#{token} and idnum=#{idnum}")
    int updateFlag(@Param("flag") int flag,@Param("token") int token,@Param("idnum") String idnum);
}
